/**
 * Copyright (C) 2019-2021 杭州优诗科技有限公司
 *
 * This file is part of UnitSpirit.
 * @author wupingfu
 * @version 1.0.0
 * 
 **/
package com.unitspirit.sample.generics;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author wupf
 * @param <E>
 * @param <V>
 *
 */
public class GenericClass<K, V> {
	List<K> list1;
	
	Map<K, V> map1;
	
	public void abc()
	{
		map1=(Map<K, V>) new HashMap<String,String>();
	}
}
